From c8b735ac1b0f8858648c9849f477cef199ff860a Mon Sep 17 00:00:00 2001 From: Ken Raeburn Date: Tue, 16 Jul 2002 15:50:09 +0000 Subject: [PATCH] * xterm.c (x_catch_errors, x_clear_errors): Use SSET. --- src/xterm.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/xterm.c b/src/xterm.c index 5796ff9e8b9..b0b52ebbdf3 100644 --- a/src/xterm.c +++ b/src/xterm.c @@ -12131,7 +12131,7 @@ x_catch_errors (dpy) record_unwind_protect (x_catch_errors_unwind, x_error_message_string); x_error_message_string = make_uninit_string (X_ERROR_MESSAGE_SIZE); - SREF (x_error_message_string, 0) = 0; + SSET (x_error_message_string, 0, 0); return count; } @@ -12181,7 +12181,7 @@ void x_clear_errors (dpy) Display *dpy; { - SREF (x_error_message_string, 0) = 0; + SSET (x_error_message_string, 0, 0); } /* Stop catching X protocol errors and let them make Emacs die. -- 2.30.2